:root {
	--totalWid: 100%;
	--themeColor: #00bdff;
}

html,
body {
	width: var(--totalWid);
}
/* 头部 */
header {
	z-index: 40;
	top: 0;
	left: 0;
	padding: 0 20px;
	width: 100%;
	height: 66px;
	background-color: #fff;
	border-bottom: 1px solid #b8ceee;
}

header a h1 {
	margin-top: 66px;
	width: 138px;
	height: 66px;
	background: url(../imgs/new-logo-white2.png) no-repeat;
}

header ul li {
	height: 64px;
	line-height: 64px;
	margin: 10px;
	/* color: #fff; */
}
header ul li a {
	width: 32px;
	color: black;
}
.active a {
	color: #00bdff;
}
header ul li.active {
	border-bottom: 2px solid #00bdff;
}

header div span {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 15px;
	font-size: 12px;
}

header div span:first-child {
	border: 1px solid #000;
}

header div span:last-child {
	background-color: #ed510a;
}
/* 主体 */
main {
	width: 100%;
}
/* api分类 */
#apiCate {
	padding-top: 50px;
	width: 100%;
	height: 280px;
}

#apiCate div h2 {
	line-height: 60px;
	font-size: 22px;
}

#apiCateList {
	display: flex;
	flex-wrap: wrap;
}

#apiCateList li {
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 8px 16px;
	color: #666;
	border: 1px solid #ececec;
	border-radius: 10px;
}
#apiCateList li:hover {
	cursor: pointer;
}
#apiCateList li.active {
	color: var(--themeColor);
	border: 1px solid var(--themeColor);
}
#apiCate div div {
	margin-top: 50px;
}

#apiCate div div strong {
	margin-right: 20px;
}
/* 尾部 */
footer {
	height: 400px;
	width: 100%;
	padding-top: 40px;
	box-sizing: border-box;
	position: relative;
}
/* 尾部盒子 */
.footerbox {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.footertext {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	height: 200px;
}
/* 分部 */
.footertext-one {
	width: 100px;
	height: 200px;
}
/* 分部文字 */
.footertext-one p {
	margin-bottom: 20px;
}
.footertext-one ul {
	width: 100px;
	height: 200px;
}
.footertext-one li {
	width: 100px;
	font-size: 13px;
	color: #d9dce9;
	margin-bottom: 10px;
}
/* 微信公众号 */
.wx {
	width: 100px;
	height: 100px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.wx h5 {
	margin-bottom: 10px;
}
.wx p {
	color: #f1ecea;
	margin-bottom: 30px;
}
.wx img {
	width: 70px;
	height: 70px;
}
/* 底部文字 */
.footerbox {
	position: relative;
	width: 100%;
	height: 20px;
}
.footerbox .box1 {
	position: absolute;
	top: 0;
	left: 118px;
	width: 20px;
	height: 20px;
	background: url(../imgs/bei1.png) no-repeat;
}
.footerbox .box2 {
	position: absolute;
	top: 0;
	left: 100px;
	width: 20px;
	height: 20px;
	background: url(../imgs/bei2.png) no-repeat;
}
/* 野鸡代码 */
.footerbox .footerbox-one p {
	margin-left: 20px;
	font-size: 14px;
	color: #d6d6d5;
	float: left;
}
.footerbox .footerbox-two p {
	font-size: 12px;
	color: #d6d6d5;
	float: right;
}
/* 返回顶部 */
.end {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 2;
}
/* 小卡片区 */
#apiCardsList {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
#apiCardsList li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	margin-right: 10px;
	width: 224px;
	height: 270px;
	border: 1px solid #ececec;
	overflow: hidden;
	position: relative;
	transition: all 0.5s ease-out;
}
/* 小卡片链接 */
#apiCardsList li a {
	position: absolute;
	width: 160px;
	height: 30px;
	background-color: #00bdff;
	font-size: 12px;
	color: #fff;
	line-height: 30px;
	text-align: center;
	bottom: -30px;
	opacity: 0;
	border: 1px solid #00bdff;
	transition: all 0.5s ease-out;
}
#apiCardsList li span {
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	height: 20px;
	font-size: 12px;
	color: #4ad3ff;
	margin: 10px;
	background-color: #e5f8ff;
}
/* 小卡片动画 */
#apiCardsList li:hover {
	box-shadow: 6px 6px 10px #666;
}
#apiCardsList li:hover a {
	bottom: 20px;
	opacity: 1;
}
#apiCardsList li img {
	margin-bottom: 20px;
}
#apiCardsList li p {
	margin-bottom: 10px;
}
#apiCardsList li p:nth-child(3) {
	font-size: 13px;
}
#apiCardsList li p:nth-child(4) {
	font-size: 14px;
	color: #34c59f;
}
#pagination {
	width: 100%;
	height: 30px;
	display: flex;
	justify-content: space-around;
}
/* 样式 */
#pagination ul {
	width: 80px;
	height: 30px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}
#pagination ul li {
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-size: 16px;
	border-radius: 50%;
	color: #000;
}
#pagination ul .active {
	color: #fff;
	background-color: #00bdff;
}
#pagination ul li:hover {
	cursor: pointer;
}
#mask {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 30%);
	z-index: 70;
}
/* 模态框 */
#maskbox {
	background-color: #fff;
	width: 400px;
	height: 550px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 24px;
	box-sizing: border-box;
}
/* <!-- 模态框标题 --> */
.maskboxImg {
	width: 180px;
	height: 50px;
	margin: 0 auto;
	margin-bottom: 24px;
	background: url(../imgs/new-logo-white2.png) no-repeat;
}
/* 账号登录 */
#maskbox #maskTab {
	width: 100%;
	height: 40px;
	display: flex;
	align-items: center;
	margin-bottom: 30px;
}
#maskbox #maskTab a {
	width: 160px;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	text-align: center;

	color: #555555;
}
#maskbox #maskTab a.active {
	position: relative;
	color: var(--themeColor);
}
#maskbox #maskTab a.active::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%);
	display: block;
	content: "";
	width: 30%;
	height: 2px;
	background-color: var(--themeColor);
}
#maskTab i {
	width: 1px;
	height: 20px;
	background-color: #eeeeee;
}
#maskloguser input {
	border: none;
	outline: none;
}
/* 用户名 */
#maskloguser #loginUser {
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
}
/* 用户名图标 */
#loginUser i {
	position: relative;
	top: 4px;
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 24px 3px;
}
/* 密码 */
#loginPwd {
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
}
/* 密码图标 */
#loginPwd i {
	position: relative;
	top: 4px;
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 55px 3px;
}
/* 忘记密码 */
#forgetPwd {
	height: 40px;
}
#forgetPwd a {
	color: var(--themeColor);
	line-height: 25px;
	font-size: 14px;
}
/* 账号登录表单 */
#maskloguser form {
	display: none;
}
#maskloguser #UForm #btn {
	width: 100%;
	height: 45px;
	text-align: center;
	background-color: var(--themeColor);
	color: #fff;
	font-size: 16px;
}
#maskloguser #UForm p:last-child {
	line-height: 50px;
	font-size: 14px;
	color: #909090;
}
#maskloguser #UForm p:last-child a {
	color: var(--themeColor);
}
/* 扫码登录表单 */
#maskloguser #QRForm div {
	margin: 0 auto;
	width: 288px;
	height: 240px;
	border: 1px solid #eeeeee;
	flex-direction: column;
}
#maskloguser #QRForm div img {
	width: 118px;
	height: 118px;
}
#maskloguser #QRForm div p {
	line-height: 36px;
	font-size: 14px;
}
#QRForm .az {
	font-size: 14px;
	margin-left: 35px;
	color: #909090;
	margin-top: 20px;
}
#maskloguser #QRForm a {
	color: var(--themeColor);
}
